package com.whucs.smartgym.service.Impl;

import com.whucs.smartgym.mapper.IUserMapper;
import com.whucs.smartgym.model.User;
import com.whucs.smartgym.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements IUserService {

    @Autowired
    IUserMapper userMapper;


    @Override
    public User getUserById(Integer id){
        return userMapper.getUserById(id);
    }
}
